package com.cat.test.test01;

/**
 * @author 曲大人的喵
 * @description
 * @create 2025/10/24 19:19
 * @since JDK17
 */


public class Solution01 {
    interface Fa {
        Fb op(int a);
    }

    interface Fb {
        int op(int b);
    }

    public static void main(String[] args) {
        Fa f1 = (a) -> (b) -> a + b;
        Fb f2 = f1.op(10);
        System.out.println(f1.op(10).op(20));
        System.out.println(f2.op(20));
    }
}
